<?php if ($this->_var['user_info']): ?>
<?php echo $this->_var['lang']['hello']; ?>，&nbsp;<?php echo $this->_var['user_info']['username']; ?>，<?php echo $this->_var['lang']['welcome_return']; ?>！&nbsp;&nbsp;
<a href="user.php"><?php echo $this->_var['lang']['user_center']; ?></a>&nbsp;|&nbsp;<a href="user.php?act=logout"><?php echo $this->_var['lang']['user_logout']; ?></a>
<?php else: ?>
 <?php echo $this->_var['lang']['welcome']; ?>&nbsp;
 <span id="loginInfo">[<a target="_parent" class="font_color" href="user.php">登录</a>]&nbsp;[<a target="_parent" class="font_color" href="user.php?act=register">免费注册</a>]</span>
<?php endif; ?>
				